<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="{{ static_url('css/semantic.min.css') }}">
    <script
            src="https://code.jquery.com/jquery-3.1.1.min.js"
            integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
            crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/semantic-ui/2.2.13/semantic.min.js"></script>
    <script src="{{ static_url('js/semantic.min.js') }}"></script>
    <link rel="stylesheet" href="{{ static_url('css/base.css') }}">
    <script src="{{ static_url('js/core.js') }}"></script>
    {% block head %}
    {% end %}
</head>
<body>
<div>
    <div class="navi">
        <ul>
            <li>连接世界</li>
            <li>{% if user %}
                {{ user.get('username') }}
                {% else %}
                请登陆
                {% end %}
            </li>
        </ul>
    </div>
</div>
{% block body %}
{% end %}
</body>
</html>